package com.xiaozhen.cmdb.service;

import com.xiaozhen.common.core.domain.cmdb.CmdbModelAttribute;

import java.util.List;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/9 11:34
 * @description:
 */
public interface CmdbModelAttributeService {
    /**
     * 增
     * @param list
     * @param currentUserId
     * @return
     */
    Integer insertCmdbModelAttributeList(List<CmdbModelAttribute> list, Long currentUserId);

    /**
     * 根据协议ID查询协议属性信息
     * @param modelId
     * @param currentUserId
     * @return
     */
    List<CmdbModelAttribute> selectCmdbModelAttributesByModelId(Long modelId, Long currentUserId);
}
